

  <template>
  <div>
    <a-upload action="https://xilusheng.top/file/api/" :multiple="true" :headers="{
      token: Token,
    }">
      <a-button>
        <upload-outlined></upload-outlined>
        上传
      </a-button>
    </a-upload>
  </div>
</template>

  <script lang="ts" setup>
import { getToken } from '/@/utils/auth';
const Token = getToken();
</script>